import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { OverlayModule } from '@angular/cdk/overlay';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { InputModule } from '../input/api';
import { IconModule } from '../icon/api';
import { I18NModule } from '../core/api';
import { ButtonModule } from '../button/api';
import { TimePickerPanelComponent } from './time-picker-panel.component';
import { TimePickerComponent } from './time-picker.component';

const COMPONENTS = [TimePickerComponent, TimePickerPanelComponent];

@NgModule({
  declarations: [...COMPONENTS],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    InputModule,
    IconModule,
    I18NModule,
    ButtonModule,
    OverlayModule,
  ],
  exports: [...COMPONENTS],
})
export class TimePickerModule {}
